import Antdv from 'ant-design-vue';
import 'splitpanes/dist/splitpanes.css';
import type { App } from 'vue';
import VXETable from 'vxe-table';
import VXETablePluginAntd from 'vxe-table-plugin-antd';
import 'vxe-table-plugin-antd/dist/style.css';
import VXETablePluginExportXLSX from 'vxe-table-plugin-export-xlsx';
import 'vxe-table/lib/style.css';
import { Button } from './Button';


export function registerGlobComp(app: App) {
  VXETable.config({
    size: 'medium',
  })
  VXETable.use(VXETablePluginExportXLSX)
  VXETable.use(VXETablePluginAntd)
  app.use(Antdv)
  .use(Button)
  .use(VXETable);
}
